package belajarzk.ui.util;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;


public class CommonListModel {

	@SuppressWarnings("unchecked")
	public static List generateTahun() {

		Calendar cal = Calendar.getInstance();
		List<Integer> list = new ArrayList<Integer>();
		list.add(cal.get(Calendar.YEAR) - 2);
		list.add(cal.get(Calendar.YEAR) - 1);
		list.add(cal.get(Calendar.YEAR));
		list.add(cal.get(Calendar.YEAR) + 1);
		list.add(cal.get(Calendar.YEAR) + 2);
		return list;
	}

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2348922729876127623L;

}
